<?php 


use yii\helpers\Html;

 ?>

<div>管理员管理-->管理员列表</div>

<div class="contenttitle2">
        <h3>管理员列表</h3>
</div>
 <table class="stdtable">
 	<colgroup>
        <col class="con0" width="">
        <col class="con1" width="">
        <col class="con0" width="">
        <col class="con1" width="30%">
    </colgroup>
	<thead>
 	<tr>
 		<th class="head0">ID</th>
 		<th class="head1">管理员名称</th>
 		<th class="head0">用户角色</th>
 		<th class="head1">操作</th>
 	</tr>
 	</thead>
 	<tbody>
 	<?php foreach ($data as $key => $val) {
 ?>
 	
 	<tr>
 		<td class="head0"><?= $val['admin_id']?></td>
 		<td class="head1"><?= $val['admin_user']; ?></td>
 		<td class="head0"><?= $val['role_name']; ?></td>
 		<td class="head1"><a href="index.php?r=admin/update&admin_id=<?= $val['admin_id'] ?>" class="btn btn2 btn_flag"><span>修改</span></a>&nbsp&nbsp<a href="index.php?r=admin/delete&admin_id=<?= $val['admin_id'] ?>" class="btn btn2 btn_trash"><span>删除</span></a></td>
 	</tr>
 	<?php } ?>
 	</tbody>
 </table>
